import Vue from 'vue'
import Vuex from 'vuex'
import {Song,Lyric} from "../model/song"

Vue.use(Vuex)

let lyricList = []
lyricList.push(new Lyric('0:03',"爱哟 请不要再消失了 u um"));
lyricList.push(new Lyric('0:06',"I Need You ずっと捜してた"));
lyricList.push(new Lyric('0:08',"I need you 一直都在寻找你"));
lyricList.push(new Lyric('0:10',"愛を止めないで もう u um"));
lyricList.push(new Lyric('0:15',"爱哟 请不要停止 u um"));
lyricList.push(new Lyric('0:20',"これが最後の Fall In Love"));
lyricList.push(new Lyric('0:22',"这就是最后的Fall in love"));
lyricList.push(new Lyric('0:26',"朝になれば City Light"));
lyricList.push(new Lyric('0:28',"到了早晨 City light"));
lyricList.push(new Lyric('0:30',"いつでも消えていくけど"));
lyricList.push(new Lyric('0:31',"总是消失不见"));
lyricList.push(new Lyric('0:33',"二人逢ったこの偶然"));
lyricList.push(new Lyric('0:35',"两人偶然的邂逅"));
lyricList.push(new Lyric('0:40',"このままだいじにしたいよ"));
lyricList.push(new Lyric('0:41',"想一直珍惜下去"));
lyricList.push(new Lyric('0:42',"膝をかかえるための"));
lyricList.push(new Lyric('0:50',"原本是抱着膝盖的"));
lyricList.push(new Lyric('0:56',"昨日までの両手"));
lyricList.push(new Lyric('1:00',"双手到昨天为止"));
lyricList.push(new Lyric('1:03',"今日からはおたがいの"));
lyricList.push(new Lyric('1:05',"现在则是为了"));
lyricList.push(new Lyric('1:08',"ハートをのせて"));
lyricList.push(new Lyric('1:10',"接受你的爱而存在"));
lyricList.push(new Lyric('1:15',"愛よ消えないで もう u um"));
lyricList.push(new Lyric('1:20',"爱哟 请不要再消失了 u um"));
lyricList.push(new Lyric('1:25',"I Need You ２度と迷わない"));
lyricList.push(new Lyric('1:28',"我需要你 再也不会踌躇不决"));
lyricList.push(new Lyric('1:31',"愛を止めないで もう u um"));
lyricList.push(new Lyric('1:36',"爱哟 请不要停止 u um"));
lyricList.push(new Lyric('1:39',"瞳見つめて Fall In Love"));
lyricList.push(new Lyric('1:50',"凝视着你的双眼 Fall in love"));
/*lyricList.push(new Lyric('0:00',"ドアの数がふえるほどに"));
lyricList.push(new Lyric('0:00',"门的数量越是增加"));
lyricList.push(new Lyric('0:00',"隣りは遠くなってくね"));
lyricList.push(new Lyric('0:00',"就觉得你离我越远"));
lyricList.push(new Lyric('0:00',"会話じゃない言葉だけを"));
lyricList.push(new Lyric('0:00',"用着不是谈话的语言"));
lyricList.push(new Lyric('0:00',"交わして流されていた"));
lyricList.push(new Lyric('0:00',"相互交流"));
lyricList.push(new Lyric('0:00',"あなただけは私を"));
lyricList.push(new Lyric('0:00',"只有你对我"));
lyricList.push(new Lyric('0:00',"判ってくれていた"));
lyricList.push(new Lyric('0:00',"是知心知意"));
lyricList.push(new Lyric('0:00',"ホントは誰だって"));
lyricList.push(new Lyric('0:00',"其实无论是谁"));
lyricList.push(new Lyric('0:00',"さみしい Lonely Child"));
lyricList.push(new Lyric('0:00',"都会感到寂寞 Lonely child"));
lyricList.push(new Lyric('0:00',"愛よ消えないで もう u um"));
lyricList.push(new Lyric('0:00',"爱哟 请不要再消失了 u um"));
lyricList.push(new Lyric('0:00',"i need you ずっと捜してた"));
lyricList.push(new Lyric('0:00',"I need you 一直都在寻找你"));
lyricList.push(new Lyric('0:00',"愛を止めないで もう u um"));
lyricList.push(new Lyric('0:00',"爱哟 请不要停止 u um"));
lyricList.push(new Lyric('0:00',"これが最後の Fall In Love"));
lyricList.push(new Lyric('0:00',"这就是最后的Fall in love"));
lyricList.push(new Lyric('0:00',"愛よ消えないで もう u um"));
lyricList.push(new Lyric('0:00',"爱哟 请不要再消失了 u um"));
lyricList.push(new Lyric('0:00',"I Need You ２度と迷わない"));
lyricList.push(new Lyric('0:00',"我需要你 再也不会踌躇不决"));
lyricList.push(new Lyric('0:00',"愛を止めないで もう u um"));
lyricList.push(new Lyric('0:00',"爱哟 请不要停止 u um"));
lyricList.push(new Lyric('0:00',"瞳見つめて Fall In Love"));
lyricList.push(new Lyric('0:00',"凝视着你的双眼 Fall in love"));
lyricList.push(new Lyric('0:00',"愛よ消えないで もう u um"));
lyricList.push(new Lyric('0:00',"爱哟 请不要再消失了 u um"));
lyricList.push(new Lyric('0:00',"I Need You ずっと捜してた"));
lyricList.push(new Lyric('0:00',"我需要你 再也不会踌躇不决"));
lyricList.push(new Lyric('0:00',"愛よ消えないで もう ...."));
lyricList.push(new Lyric('0:00',"爱哟 请不要再消失了"));
*/
let aiyongbuxiaoshi = new Song("CITY HUNTER ~愛よ消えないで~","小比類巻かほる","(动画《城市猎人》系列主题曲集)","/ablum/2533274792219773.jpg","/ablum/aiyongbuxiaoshi.m4a", 1,...lyricList)
let aiyongbuxiaoshi1 = new Song("CITY HUNTER ~愛よ消えないで~","小比類巻かほる","(动画《城市猎人》系列主题曲集)","/ablum/2533274792219773.jpg","/ablum/aiyongbuxiaoshi.m4a", 2,...lyricList)
let aiyongbuxiaoshi2 = new Song("CITY HUNTER ~愛よ消えないで~","小比類巻かほる","(动画《城市猎人》系列主题曲集)","/ablum/2533274792219773.jpg","/ablum/aiyongbuxiaoshi.m4a", 3,...lyricList)
let aiyongbuxiaoshi3 = new Song("CITY HUNTER ~愛よ消えないで~","小比類巻かほる","(动画《城市猎人》系列主题曲集)","/ablum/2533274792219773.jpg","/ablum/aiyongbuxiaoshi.m4a", 4,...lyricList)
let aiyongbuxiaoshi4 = new Song("CITY HUNTER ~愛よ消えないで~","小比類巻かほる","(动画《城市猎人》系列主题曲集)","/ablum/2533274792219773.jpg","/ablum/aiyongbuxiaoshi.m4a", 5,...lyricList)


import song from './song'


export default new Vuex.Store({
  state: {
    cachSongListData: [aiyongbuxiaoshi,aiyongbuxiaoshi1,aiyongbuxiaoshi2,aiyongbuxiaoshi3,aiyongbuxiaoshi4],
  },
  mutations: {
  },
  getters: {
    song(state) {
      return (id) =>{
        return state.cachSongListData.filter(item=> item.id == id)[0]
      }
    }
  },
  actions: {
  },
  modules: {
    song
  }
})
